.container{
    width: 100vw;
    max-width: 414px;
    height: 100vh;
    margin: 0 auto;
    background-image: url('../img/img_bg_level_1.jpg');
    background-repeat: repeat-y;
    background-size: 100%;
}
.wrapper{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* 分数 */
.score{
    position: absolute;
    z-index: 999;
    left: 12px;
    top: 12px;
    color: #fff;
    background-color: rgba(255,255,255,0.5);
    padding: 0 12px;
    border-radius: 45px;
}


#hero{
    position: absolute;
    z-index: 10;
}

/* 游戏结束页 */
.game-over{
    width: 90vw;
    box-sizing: border-box;
    padding: 50px;
    background-color: #fff;
    position: absolute;
    z-index: 10;
    margin-top: 200px;
    top: 0;
    left: 50%;
    margin-left: -45vw;
    text-align: center;
}
.game-over h1{
    font-size: 36px;
    color: #333;
}
.game-over p{
    font-size: 20px;
}

.game-over button{
    width: 90%;
    height: 50px;
    background-image: url(../img/button.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
    border: none;
    outline: none;
}

.vibration{
    animation: zhendong .4s ease-in-out;
}
@keyframes zhendong {
    0%{
        transform: translateY(50px);
    }
    25%{
        transform: translateY(-45px);
    }
    50%{
        transform: translateY(35px);
    }
    75%{
        transform: translateY(-20px);
    }
    100%{
        transform: translateY(0px);
    }
}